<extend name="./Common/View/EasyUI/charts.html"/>

<block name="script">
    <script>
        // 指定图表的配置项和数据
        var option = {
            title: {
                text: '部门用户统计'
            },
            tooltip: {},
            legend: {
                data:['人数']
            },
            xAxis: {
                data: {:json_encode($xdata)}
            },
            yAxis: {},
            series: [{
                name: '人数',
                type: 'bar',
                data: {:json_encode($series)}
            }]
        };
    </script>
</block>